package sctu.edu.java.year2016.team04.baiyunfei.day20160622.chapter11_1;

import sctu.edu.java.year2016.team04.baiyunfei.day20160622.chapter11_1.MyException;

/**
 * Created by DE on 2016/6/22.
 */
public class Student {
 public void speak(int m)throws MyException {
   if(m>1000){
       throw new MyException(m);
   }


 }
}
